<template>
    <div>
        <footer>
            <div class="caidan">
                <a href="">
                    <img src="../img/icon-home.c1947eda40.png" alt="" />
                    <p>首页</p>
                </a>
            </div>
            <div class="caidan">
                <a href="">
                    <img src="../img/icon-category.be93273636.png" alt="" />
                    <p>分类</p>
                </a>
            </div>
            <div class="caidan">
                <a href="">
                    <img src="../img/icon-star.d051789804.png" alt="" />
                    <p>米圈</p>
                </a>
            </div>
            <div class="caidan">
                <a href="">
                    <img src="../img/icon-cart-selected.0099b47830.png" alt="" />
                    <p>购物车</p>
                </a>
            </div>
            <div class="caidan">
                <a href="">
                    <img src="../img/icon-user.23496a0116.png" alt="" />
                    <p>我的</p>
                </a>
            </div>
        </footer>
    </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
footer {
    width: 800px;
    height: 50px;
    display: flex;
    justify-content: space-evenly;
    background-color: #ffffff;
    border-top: 5px solid #f5f5f5;
    position: fixed;
    bottom: 0;
    left: 23.8%;
    .caidan {
        width: 25%;
        display: flex;
        justify-content: center;
        align-items: center;
        a {
            font-size: 16px;
            text-decoration: none;
            color: black;
            img {
                width: 30px;
                height: 30px;
            }
        }
    }
    .caidan:nth-child(4) {
        a {
            color: #ff6124;
        }
    }
}
</style>
